package com.arouter.demo.minemodule;

import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.arouter.demo.minemodule.databinding.FragmentMineBinding;
import com.arouter.demo.minemodule.viewmodel.MineVm;

/**
 * desc:
 * 2018-05-30 14:00
 */
public class MineFragment extends Fragment {

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container,
                             @Nullable Bundle savedInstanceState) {

        FragmentMineBinding binding = DataBindingUtil.inflate(inflater, R.layout.fragment_mine,
                container, false);
        binding.setMineVm(new MineVm());
        return binding.getRoot();
    }


}
